package com.jsu.springboot_crop.dao;

import com.jsu.springboot_crop.entity.Reserve;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ReserveDao {
    int insertSelective(Reserve record);
    //查询个人预约
    List<Reserve> selectByReserve(Reserve record);
//    根据id修改预约
    int updateByPrimaryKeySelective(Reserve record);
//    删除预约
    int deleteByPrimary(Integer id);
//    根据id查询预约
    Reserve selectByPrimaryKey(Integer id);
}
